package po;

import java.util.*;

/**
* @author gem
* 黑名单列表
*/
public class BlackList {
	private String userID;
  	private Set <String> blackList = new HashSet<>();
  	BlackList(String id){
  		this.userID = id;
  	}
  	
  	public void addBlackList(String novelID) {
//  		�������б�����
  		this.blackList.add(novelID);
  	}
  	public void addBlackList(HashSet<String> novelID) {
//			�������б�����
		this.blackList.addAll(novelID);
	}
  	public void removeBlackList(String novelID) {
//  		�������б���ɾ��
  		this.blackList.remove(novelID);
  	}
	public String getUserID() {
		return userID;
	}
	public void setUserID(String userID) {
		this.userID = userID;
	}
	public Set<String> getBlackList() {
		return blackList;
	}
	public void setBlackList(Set<String> blackList) {
		this.blackList = blackList;
	}
 
}
